	package cn.hy.prac;

import org.apache.log4j.Logger;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.autoconfigure.orm.jpa.HibernateJpaAutoConfiguration;

/**
 * 程序入口, 启动器
 * @author YangJie [2015年11月4日 下午1:28:33]
 */
//不会自动配置DataSource与DataSourceTransactionManager
@SpringBootApplication(exclude={DataSourceAutoConfiguration.class,HibernateJpaAutoConfiguration.class})
public class Application {
	
	private static Logger logger = Logger.getLogger(Application.class);

	
	public static void main(String[] args) {
		
		SpringApplication.run(Application.class, args);
		
		logger.info("moko_pay is running...");
		
	}
}
